package mju.cxf.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("cxf_integral") // 替换为实际的表名
public class Integral {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id; // 主键 ID
    @TableField(value = "user_id")
    private Integer userId; // 用户 ID
    @TableField(value = "type")
    private Integer type; // 类型
    @TableField(value = "tittle")
    private String tittle; //消息
    @TableField(value = "number")
    private Integer number; // 积分数量
    @TableField(value ="create_time")
    private LocalDateTime createTime; // 创建时间
}
